Chris Pollett > Old Classses >
CS174

( Print View )

Student Corner:
  [Grades Sec1]
  [Submit Sec1]
  [Class Sign Up Sec1]
  [
Lecture Notes]
  [Discussion Board]

Course Info:
  [Texts & Links]
  [Topics/Outcomes]
  [Outcomes Matrix]
  [Grading]
  [Class Protocols]
  [HW/Quiz Info]
  [Exam Info]
  [Regrades]
  [Honesty]
  [Additional Policies]
  [Announcements]

HW Assignments:
  [Hw1]  [Hw2]  [Hw3]
  [Hw4]  [Hw5]  [Quizzes]

Practice Exams:
  [Midterm]  [Final]

                           












CS174 Fall 2013Practice Final

To study for the final I would suggest you: (1) Know how to do (by heart) all the practice problems. (2) Go over your notes at least three times. Second and third time try to see how much you can remember from the first time. (3) Go over the homework problems. (4) Try to create your own problems similar to the ones I have given and solve them. (5) Skim the relevant sections from the book. (6) If you want to study in groups, at this point you are ready to quiz each other. The practice final is below. Here are some facts about the actual final: (a) It is comprehensive (b) It is closed book, closed notes. Nothing will be permitted on your desk except your pen (pencil) and test. (c) You should bring photo ID. (d) There will be more than one version of the test. Each version will be of comparable difficulty. (e) It is 10 problems, 6 problems will be on material since the midterm, four problems will come from the topics covered prior to the midterm. (f) Two problems will be exactly (less typos) off of the practice final, and one will be off of practice midterm.

  1. Write a short HTML 5 and Javascript program that demonstrates how to use Javascript to check if all the fields on a form a are filled before sending it to the server.
  2. Briefly explain and give an example of how XML namespaces can be used to have a document with more than one XML language in it.
  3. Give a short example with explanation of how the XSLT apply-templates tag works.
  4. Explain how a webservice might be defined using REST.
  5. Describe each of the following website attacks and give an example: (a) XSS, (b) CSRF, (c) click-jacking.
  6. Briefly explain the following Unicode concepts: (a) glyph, (b) grapheme, (c) byte order mark.
  7. Give PHP example that initializes two Memcache servers for use and then stores a key value pair into Memcache after which it retrieves it.
  8. Give a short HTML and Javascript program which draws a blue rectangle into a canvas tag.
  9. Briefly explain the OPIC crawling algorithm.
  10. How is page rank calculated? How is HITS calculated?